package com.lovo.roomProject.classManager.service;

import com.lovo.roomProject.pojo.ClaszDO;
import com.lovo.roomProject.pojo.CutPageBean;

import java.util.List;

public interface ClassService {
    List listClass ();
    CutPageBean listClassByPage(int current);
    ClaszDO getClassByName(String name);
    ClaszDO getClassById(int id);
    void insert(ClaszDO claszDO) throws Exception;
    void delete(int id) throws Exception;
}
